a11y: Parse reference lists using varargs
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 10 Nov 2020 14:14:47 +0000 (14:14 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 10 Nov 2020 14:31:56 +0000 (14:31 +0000)
commitc264254d4bc2e641042db744a9ada7504d53351f
treeb5f68e7ef81c33b3ce4eab9f5c41d1506d4d9569
parent6af89e90348ae83d1d88fbf094660205fa45989f
a11y: Parse reference lists using varargs

Using GList is a bit lame, and makes the API more complicated to use
than necessary in the common case.

The only real use case for a GList is gtk_widget_add_mnemonic_label(),
and for that we can use the GValue-based API instead.

Fixes: #3343
21 files changed:
gtk/gtkaccessiblevalue.c
gtk/gtkbutton.c
gtk/gtkexpander.c
gtk/gtkframe.c
gtk/gtklabel.c
gtk/gtkmenubutton.c
gtk/gtkmodelbutton.c
gtk/gtknotebook.c
gtk/gtkpopovermenubar.c
gtk/gtkscrolledwindow.c
gtk/gtkstackswitcher.c
gtk/gtktestatcontext.c
gtk/gtktestatcontext.h
gtk/gtkwidget.c
testsuite/a11y/accessible.c
testsuite/a11y/button.c
testsuite/a11y/expander.c
testsuite/a11y/general.c
testsuite/a11y/label.c
testsuite/a11y/scrollbar.c
testsuite/a11y/stack.c